<?php 
/**
* district
*/
$config['district']	= array('上海','杭州');

/**
 * cookie
 */
$config['cookie.secret_key'] = 'piscescookiekey';

/**
* 分页
*/
$config['pagination.pager']['per_page'] = 10; //每个页面中希望展示的项目数量
$config['pagination.pager']['num_links_show'] = 9; //数字链接显示数量
$config['pagination.pager']['num_point_start_end'] = 0; //“点”前边和后边的链接数量
/**
 * 是否显示上一页,下一页...
 */
$config['pagination.pager']['show_first'] = true;
$config['pagination.pager']['show_prev'] = true;
$config['pagination.pager']['show_next'] = true;
$config['pagination.pager']['show_last'] = true;
$config['pagination.pager']['show_goto'] = false;
$config['pagination.pager']['show_info'] = false;
$config['pagination.pager']['show_point'] = true;
$config['pagination.pager']['show_empty_button'] = false;
/**
 * 上一页,下一页...的显示文字内容
 */
$config['pagination.pager']['first_text'] = '首页';
$config['pagination.pager']['prev_text'] = '上一页';
$config['pagination.pager']['next_text'] = '下一页';
$config['pagination.pager']['last_text'] = '尾页';
//$config['pagination.pager']['point_text'] = '...';
/**
 * 生成html代码部分, :url表示生成链接
 */
$config['pagination.pager']['full_tag_open'] = '<div class="pages">';
$config['pagination.pager']['full_tag_close'] = '</div>';
$config['pagination.pager']['num_tag_open'] = '';
$config['pagination.pager']['num_tag_close'] = '';
$config['pagination.pager']['link_tag_open'] = '<a href=":url">';
$config['pagination.pager']['link_tag_close'] = '</a>';
$config['pagination.pager']['link_tag_cur_open'] = '<span>';
$config['pagination.pager']['link_tag_cur_close'] = '</span>';
$config['pagination.pager']['button_tag_open'] = '<a href=":url" style="font-weight:bold">';
$config['pagination.pager']['button_tag_close'] = '</a>';
$config['pagination.pager']['button_tag_empty_open'] = '<span>';
$config['pagination.pager']['button_tag_empty_close'] = '</span>';
//$config['pagination.pager']['point_tag_open'] = '<span>';
//$config['pagination.pager']['point_tag_close'] = '</span>';

/**
* 爬虫
*/
$config['spiders'] = array(array('name'=>'百度','en'=>'baidu'),array('name'=>'Google','en'=>'google'),array('name'=>'MSN','en'=>'msn'),array('name'=>'雅虎','en'=>'yahoo'),array('name'=>'有道','en'=>'yodao'),array('name'=>'搜狗','en'=>'sogou'),array('name'=>'搜搜','en'=>'soso'),array('name'=>'IASK','en'=>'iask'),array('name'=>'其它','en'=>'other'),);

/**
* 备份
*/
$backupDir = substr(dirname(__FILE__), 0, strrpos(__FILE__, "code")).'backup/';
$config["db.backup.path"] = $backupDir;

/**
* 广告
*/
$config["ad"]["position"] = array(3=>'首页左侧下方',4=>'首页上方通栏',5=>'首页下方通栏',6=>'商品列表页左侧下方',7=>'商品列表页上方通栏',8=>'商品列表页下方通栏',9=>'商品详情页左侧下方',10=>'商品详情页上方通栏',11=>'商品详情页小分类',12=>'资讯列表上方通栏',13=>'资讯列表下方通栏',14=>'文章详情页上方通栏',15=>'文章详情页下方通栏',17=>'资讯列表右侧上方',18=>'资讯列表右侧下方',23=>'频道页右侧上方',24=>'频道页右侧下方',25=>'频道页上方',26=>'频道页下方',27=>'频道页上方通栏',28=>'频道页下方通栏',29=>'Flash专用广告位',30=>'文章详情页右侧上方',31=>'文章详情页右侧下方');

/**
 * 是否开启管理员密码重置功能 
 */
$config['password.reset'] = false;
